package xna.android;

import android.content.res.Resources;
import android.graphics.BitmapFactory;

public class Shot extends Sprite {

	public Shot(Resources res, int texture, int x, int y, ShotType type) {
		super(BitmapFactory.decodeResource(res, texture), x, y, null, new Speed(0, -5));
		this.type = type;
	}

	public boolean isOnScreen(){
		if(this.posY < 0)
			return false;
		return true;
	}
	
}
